<template>
    <div>
        <h1>登录页面</h1>
        <el-button type="primary" @click="login">登录</el-button>
    </div>
    
</template>
<script setup>
import {useRouter} from 'vue-router'
const router = useRouter();
const login=()=>{
    router.push("/home")
}
</script>
<style scoped>
</style>